Remove MediaPack with Registration
The Remove MediaPack with Registration script removes a MediaPack device with registration from an existing Teams Direct Routing Customer, and is shown below:
Copy
### Script Version 1.2 ###
# Removing Media Pack from existing Customer
# Id: 5461231
#
configure network
no access-list where description "{{CustomerId}}-c"
exit
configure voip
no ip-group where name "{{CustomerId}}-c"
no sip-definition account where account-name "{{CustomerId}}"
{{#each SBC.DialPlanPrefixes}}
sbc dial-plan where name "MPDialPlan"
no dial-plan-rule where name "{{../CustomerId}}"
activate
exit
{{/each}}
do write